package com.tistory.common.controller;

import java.sql.SQLException;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.tistory.admin.adminmgr.auth.model.LoginUserInfo;
import com.tistory.admin.common.BaseException;
import com.tistory.admin.common.SessionManager;
import com.tistory.common.vo.CommonReq;
import com.tistory.commons.utils.DateUtil;
import com.tistory.commons.utils.SessionUtil;
import com.tistory.commons.utils.StringUtil;
import com.tistory.credit.service.CreditService;
import com.tistory.credit.vo.CreditRes;

@Controller
public class CommonController {
	
	private static final Logger log = LoggerFactory.getLogger(CommonController.class);
	

	@RequestMapping(value="common/postSearch.do")
	public ModelAndView minusSearch(HttpServletRequest request) throws SQLException{
		// 권한체크
		SessionManager.funInit(request);
		
		ModelAndView modelAndView = new ModelAndView();
		
		modelAndView.setViewName("common/postSearch");
		return modelAndView;
	}	
	
}
